# -*- coding: utf-8 -*-

"""
py2exe配置文件，用于将程序打包成Windows平台下的exe可执行文件。
"""

from distutils.core import setup
import py2exe
import glob

setup(
    data_files=[
        #vc9 runtime
        'msvcr90.dll', 
        'msvcp90.dll', 
        'Microsoft.VC90.CRT.manifest',
        #translate
        ('translate', glob.glob("translate\\*.qm"))
    ],
    windows=['mainForm.py'],
    options={
        "py2exe": {
            'includes': ['sip'],
            "compressed": True,
#            'bundle_files': 2,
        }
    }
)
